package com.sp.common.exception;

/**
 * 业务异常类，当出现异常的时候可以用此异常进行返回数据
 */
public class BusinessException extends RuntimeException {
    private static final long serialVersionUID = 6610083281801529147L;

    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(String message, Throwable cause) {
        super(message, cause);
    }
}
